﻿<UserControl x:Class="GIMS.GUI.ArgumentControls.GravityArgumentControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:conv="clr-namespace:GIMS.GUI.ArgumentControls" mc:Ignorable="d" 
             d:DesignHeight="76" d:DesignWidth="152">

    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Column="0" VerticalAlignment="Center" Margin="3">Gravity:</TextBlock>
   
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="50" />
                <ColumnDefinition Width="50" />
                <ColumnDefinition Width="50" />
            </Grid.ColumnDefinitions>
            <RadioButton Content="NW" GroupName="Options" IsChecked="{Binding Path=IsNorthWest}" />

            <RadioButton Grid.Column="1" Content="N" GroupName="Options" IsChecked="{Binding Path=IsNorth}" />

            <RadioButton Grid.Column="2" Content="NE" GroupName="Options" IsChecked="{Binding Path=IsNorthEast}" />

            <RadioButton Grid.Row="1" Grid.Column="0" Content="W" GroupName="Options" IsChecked="{Binding Path=IsWest}" />

            <RadioButton Grid.Row="1" Grid.Column="1" Content="C" GroupName="Options" IsChecked="{Binding Path=IsCenter}" />

            <RadioButton Grid.Row="1" Grid.Column="2" Content="E" GroupName="Options" IsChecked="{Binding Path=IsEast}" />

            <RadioButton Grid.Row="2" Grid.Column="0" Content="SW" GroupName="Options" IsChecked="{Binding Path=IsSouthWest}" />

            <RadioButton Grid.Row="2" Grid.Column="1" Content="S" GroupName="Options" IsChecked="{Binding Path=IsSouth}" />

            <RadioButton Grid.Row="2" Grid.Column="2" Content="SE" GroupName="Options" IsChecked="{Binding Path=IsSouthEast}" />
        </Grid>
    </Grid>
</UserControl>
